home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group00b.txt
/
000057_icon-group-sender _Mon Sep 25 08:14:05 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2001-01-03
|
4KB
Return-Path: <icon-group-sender>
Received: (from root@localhost)
by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id IAA09393
for icon-group-addresses; Mon, 25 Sep 2000 08:12:25 -0700 (MST)
Message-Id: <200009251512.IAA09393@baskerville.CS.Arizona.EDU>
From: rohan@micom.asn.au
Date: Mon, 25 Sep 2000 12:55:38 +1100 (EST)
To: Leonard <no@email.yet>
cc: icon-group@optima.CS.Arizona.EDU
Subject: newbie questions
Content-ID: <Pine.LNX.3.96.1000905173538.6463D@micom.asn.au>
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 3533
Leonard; since you don't seem to be getting much attention from
the resident guru's and the list doesn't seem to have enormous
traffic;I thought I might share my understandings on some of the
matters you have raised....the blind leading the blind!
Who knows it may even stimulate a responce
On Sat, 2 Sep 2000, Leonard wrote:
> Hello;
> I have some experience programming in Fortran, but would now like to do
> some windows gui programming in a more modern language.
>
The executables that come "out" of Icon are for a command line interface;
you would seem to need something called "VIB " if you want gui.
> >From what I have read, I like Icon's strings processing features, as
> well as the fact that the size of strings / lists do not have to be
> specified when writing a program. now...
>
[A> Can an Icon program be compiled into a stand-alone executable, to be
> used on computers without Icon installed?
In the past (say prior to ver 8.7 see insert (1)below) there were two
ways of producing an executable:
1/via the Icon compiler "iconc" (see Ipd191.doc)."iconc" would convert
the source code to the language "C" which could then be compiled to
to an executable via a suitable "C" compiler(either manually or by
a command line switch.)Whether this intermediate step was for cross-
platform accessibility or to avoid having to write a "*.icn->*.exe"
compiler or both... I don't know.
Anyway iconc is now no longer supported.(see insert (2)below)
2/via an attached interpreter which means that your smallest program
is about 300k(compare Icon9\bin\noname.exe 310kb with
Icon\bin\noname.icn 1kb)
ps One of the reasons I am still a novice Icon programmer is because it
has no direct "*.icn->*.exe" compiler!
..........................................................insert (1)
>From - Thu Jun 01 12:47:45 2000
rohan@micom.asn.au
Subject: Re: silly question about iconc
what systems is an Icon compiler available for and
where (URL?) can I find binaries ?
Because of limited resources, we no longer support the compiler or produce
binaries for it. Most people found that using the compiler wasn't worth
the extra compliation time or the hassles involved.
Gregg Townsend Staff Scientist The University of Arizona
gmt@cs.arizona.edu Computer Science Tucson, Arizona, USA
..........................................................insert (1)
..........................................................insert (2)
3.__Differences_in_Language_Features
The compiler is designed to be compatible with the interpreter
for Version 8.7 of Icon. This goal cannot be completely realized
because several features of the language make optimizations dif-
ficult. Those features that cause problems and are not considered
essential to the language have either been removed or made avail-
able only through compiler options.
Debugging, string invocation, linking code from other Icon
programs, and external functions are handled somewhat differently
IPD191a - 4 - July 4, 1992
..........................................................insert (2)
>
> If so...
>
> How much memory overhead does the Icon interpreter have?
>
> How does the program execution speed compare to a similar program
> written in C++ or Java?
>
Checkout http://www.idiom.com/free-compilers
> Are there files system functions to check for the existence of, copy,
> move and rename specified files / folders?
>
>
> Thanks
> Leonard
>